<?php

namespace app\api\model;

use think\Model;

class CircleImages extends Model
{
    public function getImagesAttr($value)
    {
        if ($value) {
            $images = explode(',', $value);
            array_walk($images, function (&$val) {
               $val = request()->domain().$val;
               return $val;
            });
            return $images;
        }
    }
}
